﻿using AVIS.OutBound.WizardAgent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.Wizard
{
    /// <summary>
    /// Wizard数据处理的服务类
    /// </summary>
    public interface IWizardManager
    {
        /// <summary>
        /// 获取指定错误代码的错误信息
        /// </summary>
        /// <param name="ErrorCode"></param>
        /// <returns></returns>
        ErrorMessage GetErrorMessage(string ErrorCode);

        /// <summary>
        /// 处理Wizard结果的错误信息
        /// </summary>
        /// <param name="response">Wizard请求结果</param>
        void HandleErrorMessage(IResponse response);

        /// <summary>
        /// 获取所有价格包含（PriceInclude）的中文解释
        /// </summary>
        /// <returns></returns>
        IDictionary<string, string> GetPriceIncludeTranslations();

        /// <summary>
        /// 获取所有价格包含（PriceInclude）的简写中文解释
        /// 注意：+号表示一条内容里面同时包含关键字，有 +号 需要排在前面
        /// </summary>
        /// <returns></returns>
        IDictionary<string, string> GetSimplePriceIncludeTranslations();
    }
}
